package com.inctech.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.inctech.model.Organization;

public interface IOrganizationDao {

	//查找所有部门
	public abstract List<String> getAllDepartment();
	
	//查找所有组织机构
	public abstract List<Organization> getAllOrganization();
	
	//新增一个部门
	public abstract int addDepartment(Organization org);
	
	//修改部门名称
	public abstract int updateDepartment(@Param("pre_department")String pre_department,@Param("now_department")String now_department);
	
	//新增一个职位
	public abstract int addPosition(Organization org);
	
	//修改职位
	public abstract int updatePosition(Map<String,Object> paramMap);
}
